//
//  RBGroupModel.h
//  Master
//
//  Created by Lan on 2017/6/6.
//  Copyright © 2017年 LongCai. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface RBGroupModel : NSObject

/** 头部视图 */
@property(nonatomic, strong) UIView *headerView;
@property(nonatomic, assign) Class headerViewClass;
/** 头部高度 */
@property(nonatomic, assign) CGFloat headerHeight;

/** 底部视图 */
@property(nonatomic, strong) UIView *footerView;
@property(nonatomic, assign) Class footerViewClass;
/** 底部高度 */
@property(nonatomic, assign) CGFloat footerHeight;

/** 给cell的RBCellModel模型 */
@property(nonatomic, strong) NSArray *cellModels;

/** 点击回调 */
@property(nonatomic, copy) void(^eventBlock)(id data);

#pragma mark - UICollectionView

@property(nonatomic, assign) UIEdgeInsets sectionInset;
@property(nonatomic, assign) CGFloat minimumLineSpacing;
@property(nonatomic, assign) CGFloat minimumInteritemSpacing;

@property(nonatomic, copy) NSString *headerReuseIdentifier;
@property(nonatomic, assign) CGSize headerReferenceSize;
@property(nonatomic, strong) id headerData;
@property(nonatomic, copy) void(^headerEventBlock)(id view, id data);

@property(nonatomic, copy) NSString *footerReuseIdentifier;
@property(nonatomic, assign) CGSize footerReferenceSize;
@property(nonatomic, strong) id footerData;
@property(nonatomic, copy) void(^footerEventBlock)(id view, id data);

@property(nonatomic, copy) NSString *exStr;

@end
